import request from '@/util/request'
import baseUrl from './base'

export function insertErpProjectDept(data) {
  return request({
    url: baseUrl + '/erp/project/dept/insert',
    method: 'post',
    data
  })
}

export function saveListErpProjectDept(data) {
  return request({
    url: baseUrl + '/erp/project/dept/saveList',
    method: 'post',
    data
  })
}

export function listErpProjectDept(data) {
  return request({
    url: baseUrl + '/erp/project/dept/list',
    method: 'post',
    data
  })
}

export function deleteErpProjectDept(data) {
  return request({
    url: baseUrl + '/erp/project/dept/delete',
    method: 'post',
    data
  })
}

export function getErpProjectDept(data) {
  return request({
    url: baseUrl + '/erp/project/dept/get',
    method: 'post',
    data
  })
}

export function updateErpProjectDept(data) {
  return request({
    url: baseUrl + '/erp/project/dept/update',
    method: 'post',
    data
  })
}

